package com.sikaryofficial.backend.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;

import java.util.Date;

@Getter
@Setter
@ToString
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("store_view_detail_t")
public class StoreViewDetail implements Serializable {

    private static final long serialVersionUID = 1L;

    /** 店铺查看明细ID */
    @TableId(type = IdType.ASSIGN_ID)
    private Long storeViewDetailId;
    /** 店铺ID */
    private Long storeId;
    /** 租户号 */
    private Integer tenantId;
    /** 乐观锁 */
    private Integer revision;
    /** 创建人 */
    private Long createdBy;
    /** 创建时间 */
    private Date createdTime;
    /** 更新人 */
    private Long updatedBy;
    /** 更新时间 */
    private Date updatedTime;
    /** 删除版本：默认为0；删除则赋值当前记录主键ID */
    private Long deletedVersion;
}